package com.tul.exercise.base.innerclass;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @ClassName Person
 * @Description
 * @Author tul 2018/7/29
 * @Version 1.0
 **/
public class Person {

    private String name;

    public Person(String name) {
        this.name = name;
    }

    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }

}
